import { NgModule } from '@angular/core';
import { IonicApp, IonicModule } from 'ionic-angular';
import { MyApp } from './app.component';

import { TabsPage } from '../pages/tabs/tabs';
import { HomePage } from '../pages/home/home';
import { MorePage } from '../pages/home/more/more';
import { GuidePage } from '../pages/home/guide/guide';
import { HospitalPage } from '../pages/hospital/hospital';
import { FindPage } from '../pages/find/find';
import { NewDetailPage } from '../pages/find/newDetail/newDetail';
import { MyPage } from '../pages/my/my';
import { AreaPage } from '../pages/area/area';
import { SearchPage } from '../pages/search/search';
import { AdvisoryPage } from '../pages/advisory/advisory';
import { DepartmentsPage } from '../pages/departments/departments';
import { loginPage } from '../pages/login/login';
import { registerPage } from '../pages/register/register';

import { DoctorlistPage } from '../pages/ask/doctorlist/doctorlist';
import { DoctorDetailPage } from '../pages/ask/doctorDetail/doctorDetail';
import { TimeOptionPage } from '../pages/ask/doctorDetail/timeOption/timeOption';
import { HospitalListPage } from '../pages/reserve/hospitalList/hospitalList';
import { RserveDoctorList } from '../pages/reserve/rserveDoctorList/rserveDoctorList';
import { ReserveDepartmentList } from '../pages/reserve/reserveDepartmentList/reserveDepartmentList';
import { ReserveInfo } from '../pages/reserve/reserveInfo/reserveInfo';
import { ReservePerson } from '../pages/reserve/reservePerson/reservePerson';
import { AddPersonPage } from '../pages/reserve/addPerson/addPerson';
import { Success } from '../pages/reserve/success/success';

@NgModule({
  declarations: [
    MyApp,
    TabsPage,
    HomePage,
    HospitalPage,
    FindPage,
    MyPage,
    AreaPage,
    SearchPage,
    NewDetailPage,
    AdvisoryPage,
    DepartmentsPage,
    MorePage,
    GuidePage,
    loginPage,
    DoctorlistPage,
    DoctorDetailPage,
    HospitalListPage,
    RserveDoctorList,
    ReserveDepartmentList,
    TimeOptionPage,
    ReserveInfo,
    ReservePerson,
    Success,
    registerPage,
    AddPersonPage

  ],
  imports: [
    IonicModule.forRoot(MyApp,{
      mode:"ios",
      iconMode:"md",
      swipeBackEnabled:false,
      backButtonText:'',
      tabsHideOnSubPages:'true',
      pageTransition:'md-transition'
    })
  ],
  bootstrap: [IonicApp],
  entryComponents: [
    MyApp,
    TabsPage,
    HomePage,
    HospitalPage,
    FindPage,
    MyPage,
    AreaPage,
    SearchPage,
    NewDetailPage,
    AdvisoryPage,
    DepartmentsPage,
    MorePage,
    GuidePage,
    loginPage,
    DoctorlistPage,
    DoctorDetailPage,
    HospitalListPage,
    RserveDoctorList,
    ReserveDepartmentList,
    TimeOptionPage,
    ReserveInfo,
    ReservePerson,
    Success,
    registerPage,
    AddPersonPage

  ],
  providers: []
})
export class AppModule {}
